package sql;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Date;

import info.*;
public interface sql {

     User Login(LoginForm loginForm ) throws SQLException;
     int Register(RegistrationForm RegistrationForm) throws SQLException;
     int addSubscribe(SubscribeForm SubForm);
     SubscribeForm[] getSubscribe(User user);
     SubscribeForm[] getSubscribe(User user,Date start, Date end);
     boolean deleteSubscribe(String id,User user);
}

